<?php defined('INDEX_FILE') or die('forbidden');


/**
* MLT Web Engine
* http://www.molotsoft.ru
*
* @package MLT_WE
* @subpackage Test_Types
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: test_types.inc.php 221 2009-03-08 08:16:55Z molotsoft@gmail.com $
* @link $HeadURL: http://test-types.googlecode.com/svn/tags/1.0.4/test_types.inc.php $
*/


define('TSTP_PACKAGE', 'Test_Types');
define('TSTP_VERSION', '1.0.4');

define('TSTP_PHP_VERSION', '4.2.0'); // is_a
version_compare(PHP_VERSION, TSTP_PHP_VERSION, '>=') or trigger_error('required PHP_VERSION >= ' . TSTP_PHP_VERSION, E_USER_NOTICE);

define('TSTP_LFNC_VERSION', '1.0.0');
defined('LFNC_VERSION') and version_compare(LFNC_VERSION, TSTP_LFNC_VERSION, '>=') or trigger_error('required LFNC_VERSION >= ' . TSTP_LFNC_VERSION, E_USER_NOTICE);


define('TSTP_ROOT_DIR', pathinfo(__FILE__, PATHINFO_DIRNAME) . '/');
define('TSTP_PHP_EXT', '.' . pathinfo(__FILE__, PATHINFO_EXTENSION));

define('TSTP_PLUGINS_DIR', TSTP_ROOT_DIR . 'types/');
define('TSTP_PLUGIN_EXT', '.tstp' . TSTP_PHP_EXT);


foreach (glob_r(TSTP_PLUGINS_DIR . '*' . TSTP_PLUGIN_EXT) as $filename) {
	require_once($filename);
}


?>